package cn.hx.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 用戶申请事项办理表(UserReport)实体类
 *
 * @author makejava
 * @since 2022-08-26 17:21:30
 */
public class UserReport implements Serializable {
    private static final long serialVersionUID = -44872330409251239L;
    /**
     * 申报编号
     */
    private Integer id;
    /**
     * 申报的事项详情id
     */
    private Item item;
    /**
     * 审批事项*这一栏先不要
     */
    private String message;
    /**
     * 申报人编号
     */
    private Integer userId;
    /**
     * 负责人编号
     */
    private Integer itemUserid;
    /**
     * 申报时日
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    /**
     * 事项申报结果时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date processingTime;
    /**
     * 办理状态;1 不通过；2 等待办理；3 通过
     */
    private Integer status;
    /**
     * 备注
     */
    private String remark;
    /**
     * 材料文件路径
     */
    private String materialFilePath;
    /**
     * 材料内容
     */
    private String materialContext;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Item getItem() {
        return item;
    }

    public void setItem(Item item) {
        this.item = item;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getItemUserid() {
        return itemUserid;
    }

    public void setItemUserid(Integer itemUserid) {
        this.itemUserid = itemUserid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getProcessingTime() {
        return processingTime;
    }

    public void setProcessingTime(Date processingTime) {
        this.processingTime = processingTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getMaterialFilePath() {
        return materialFilePath;
    }

    public void setMaterialFilePath(String materialFilePath) {
        this.materialFilePath = materialFilePath;
    }

    public String getMaterialContext() {
        return materialContext;
    }

    public void setMaterialContext(String materialContext) {
        this.materialContext = materialContext;
    }

    @Override
    public String toString() {
        return "UserReport{" +
                "id=" + id +
                ", item=" + item +
                ", message='" + message + '\'' +
                ", userId=" + userId +
                ", itemUserid=" + itemUserid +
                ", createTime=" + createTime +
                ", processingTime=" + processingTime +
                ", status=" + status +
                ", remark='" + remark + '\'' +
                ", materialFilePath='" + materialFilePath + '\'' +
                ", materialContext='" + materialContext + '\'' +
                '}';
    }
}